package com.spudtech.utils
{
    
    import flash.geom.*;
    import flash.events.*;
    import flash.display.*;
    
    import flash.utils.Dictionary;
    
    import com.spudtech.*;
    
    
    public class SpudKeyFlash extends SpudKey
    {
        
        public function SpudKeyFlash()
        {
            super();
            
        }
        
        
        override public function getKeyCode(key_name : *) : int
        {
            key_name = String(key_name).toLowerCase();
            
            // Include the file KeyCodesFlash.as
            // which has our key code getting
            // switch statement
            
            include "KeyCodesFlash.as";
            
            // We should not get to this part
            return 0;
            
        }
        
        override public function getKeyName(key_code : int) : String
        {
            // Include the file keyNamesFlash.as
            // which has our key name getting
            // switch statement
            include "KeyNamesFlash.as";
            
            
            // We should not get to this part
            return "";
            
        }
        
    }
    
}
